﻿using System;
using System.Collections.Generic;
using System.Text;

using ECCIT.Business.Model;

namespace OgilvyOne.UKNow.Model
{
    [Serializable]
    public class EventsVideoModel : UploadFileModel
    {
        //public int? LanguageID { get; set; }            // 语言类型
        //public int? ID { get; set; }                    // 视频ID
        public int? EventsID { get; set; }              // 活动ID
        public EventsModel Events { get; set; }         // 活动
        //public string Name { get; set; }                // 视频名称
        //public string Path { get; set; }                // 视频路径
        public string Extension { get; set; }
        public int Type { get; set; }                // 视频类型
        public string Description { get; set; }         // 视频描述
        public string Tag { get; set; }                 // 视频Tag
        public int? State { get; set; }
        public string ImagePath { get; set; }           // 视频缩略图路径
        public int? Order { get; set; }                 // 显示顺序
        public bool IsRecommendation { get; set; }      // 是否官方推荐
        public DateTime InsertedTime { get; set; }
        public DateTime UpdatedTime { get; set; }

        public EventsVideoModel() { }

        public EventsVideoModel(int? langID
            , int? id
            , int? eventsID
            , string name
            , string path
            , string ext
            , int type
            , string desc
            , string tag
            , int? state
            , string imagePath
            , int? order
            , bool isRecommendation, DateTime insertedTime, DateTime updatedTime)
        {
            this.LanguageID = langID;
            this.ID = id;
            this.EventsID = eventsID;
            this.Name = name;
            this.Path = path;
            this.Extension = ext;
            this.Type = type;
            this.Description = desc;
            this.Tag = tag;
            this.State = state;
            this.ImagePath = imagePath;
            this.ThumbnailImagePath = imagePath;
            this.Order = order;
            this.IsRecommendation = isRecommendation;
            this.InsertedTime = insertedTime;
            this.UpdatedTime = updatedTime;
            this.FileType = 2;
        }
    }
}
